package day05;

public class User {
    public int id;

    public String username;

    public void setId(int id){
        this.id = id;
    }
    public void setUsername(String username){
        if("小小".equals(username)){
            this.username = "***";
            return;
        }
        this.username = username;
    }

    public int getId(){
        return id;
    }

    public String getUsername(){
        return username;
    }
}
